<?php
class CKFinderAction extends CAction {
	
	public $layout = '//layout/admin';
	
	public function run() {
		Yii::app()->clientScript->registerScriptFile('/library/ckfinder/ckfinder.js');
		$this->getController()->renderFile(dirname(__FILE__) . '/views/ckfinder.php');
	}
}